// TS 类型
// 布尔值
var b1 = true;
// 数字
var n1 = 1;
// 字符串
var str = "123123";
// 数组
var arr = [1, 2, 3, 4, 5];
var arr1 = [1, 2, 3, 4, 5];
// 元组
var state = [1, '1231'];
// const [state, setState] = useState(1)
// 枚举
var Color;
(function (Color) {
    Color[Color["Red"] = 0] = "Red";
    Color[Color["Yellow"] = 1] = "Yellow";
    Color[Color["Green"] = 2] = "Green";
})(Color || (Color = {}));
console.log(Color.Red);
console.log(Color.Yellow);
console.log(Color.Green);
console.log(Color[0]);
console.log(Color[1]);
console.log(Color[2]);
